﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

using Orchard.Model;
using Orchard.View;
using Orchard.Controller;

namespace Orchard
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            //create MVC structure
            OrchardModel model = new OrchardModel();
            OrchardView view = new OrchardView(model);
            OrchardController controller = new OrchardController(model, view);

            //start the application
            controller.startApplication();
        }
    }
}
